
{extend name="index/base" /}
{block name="main"}

<div class="main" >
    {include file="index/header" /}
    <div class="progress"><ul class="p-4"><li><span>许可协议</span></li><li><span>环境检测</span></li><li><span>设定配置</span></li><li><span>安装完成</span></li></ul></div>
	<div class="note">
		<div class="isok">
            <p><a href="/" class="layui-btn layui-btn-normal">登录后台</a> <a href="https://www.madong.tech/" target="_blank" class="layui-btn layui-btn-warm">madong官网</a></p>
            <p>安装完成后，请重启Webman服务</p>
            <p>温馨提示：生产环境下，安装好后请将install目录删除。</p>

        </div>
	</div>
</div>
<div class="footer"><span class="copyright"><?php echo $copyright;?></span></div>

<script>
layui.use('layer',function(){
    const layer = layui.layer;
    const isOK = <?php echo $isOK ? 'true' : 'false';?>;
        if(!isOK){
             window.location.href ="/app/install/index/step2"
        }
});
</script>
{/block}
